<?php 
     echo $this->Html->script('jquery.dataTables.js'); 
     echo $this->Html->script('unicorn.js'); 
     echo $this->Html->script('unicorn.tables.js'); 
 ?>
<div id="content-header">
				<h1>Liste des élèves</h1>
				<div class="btn-group">
					<a class="btn btn-large tip-bottom" title="Manage Files"><i class="icon-file"></i></a>
					<a class="btn btn-large tip-bottom" title="Manage Users"><i class="icon-user"></i></a>
					<a class="btn btn-large tip-bottom" title="Manage Comments"><i class="icon-comment"></i><span class="label label-important">5</span></a>
					<a class="btn btn-large tip-bottom" title="Manage Orders"><i class="icon-shopping-cart"></i></a>
				</div>
</div>
<div id="breadcrumb">
				<a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a>
				<a href="#" class="current">Liste des élèves </a>
</div>


<div class="container-fluid">
				<div class="row-fluid">
					<div class="span12">
								<div class="widget-box">
							<div class="widget-title">
							
								<h5>Elèves</h5>
							</div>
							<div class="widget-content nopadding">
								<table class="table table-bordered table-striped table-hover data-table">
									<thead>
									<tr>
									<th>Nom</th>
									<th>Prenom</th>
									<th>Télèphone</th>
									</tr>
									</thead>
									<tbody>
										<?php foreach ($liste as $ligne) { ?>
											<tr class="gradeX">
												<td><?= $ligne['Pupil']['nom'] ?></td>
												<td><?= $ligne['Pupil']['prenom'] ?></td>
												<td><?= $ligne['Pupil']['telFixe'] ?></td>
											</tr>
										<?php } ?>
									</tbody>
									</table>  
							</div>
						</div>

					</div>
				</div>
</div>